#!/bin/awk -f

BEGIN { 
 FS="/"
 print "+---------------+--------------+---------------------------------+";
 print "|    Job ID     |    Status    |           Submit Date           |";
 print "+---------------+--------------+---------------------------------+";
}

$2 != "SUCCESS" {     
  printf "|   %6d      | %10s   | %30s  |\n", $1, $2, $3
}

END { 
  print "+---------------+--------------+---------------------------------+";
}
